projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
249b53a
)
Safer timestamp_autogenerated.h generation
author
Loïc Minier
<
[email protected]
>
Mon, 3 Oct 2011 09:57:11 +0000
(11:57 +0200)
committer
Wolfgang Denk
<
[email protected]
>
Thu, 6 Oct 2011 18:20:15 +0000
(20:20 +0200)
Generate timestamp_autogenerated.h as safely as version_autogenerated.h.
Cc:
[email protected]
Signed-off-by: Loïc Minier <
[email protected]
>
Acked-by: Mike Frysinger <
[email protected]
>
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 1a9a4dbbf05eb011a2ca2295abcefd894300696e..5db2e0e33561907cdc08b841bc5e701304f16b4f 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-570,8
+570,9
@@
$(VERSION_FILE):
$(TIMESTAMP_FILE):
@mkdir -p $(dir $(TIMESTAMP_FILE))
- @LC_ALL=C date +'#define U_BOOT_DATE "%b %d %C%y"' > $@
- @LC_ALL=C date +'#define U_BOOT_TIME "%T"' >> $@
+ @LC_ALL=C date +'#define U_BOOT_DATE "%b %d %C%y"' >
[email protected]
+ @LC_ALL=C date +'#define U_BOOT_TIME "%T"' >>
[email protected]
+ @cmp -s $@
[email protected]
&& rm -f
[email protected]
|| mv -f
[email protected]
$@
easylogo env gdb:
$(MAKE) -C tools/$@ all MTD_VERSION=${MTD_VERSION}